<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>rrdresize</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body>



<h1 id="NAME">NAME</h1>

<p>rrdresize - alters the size of an RRA and creates a new .rrd file</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<p><b>rrdtool</b> <b>resize</b> <i>filename</i> <i>rra-num</i> <b>GROW</b><i>|</i><b>SHRINK</b> <i>rows</i></p>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>The <b>resize</b> function is used to modify the number of rows in an <b>RRA</b>.</p>

<dl>

<dt id="filename"><i>filename</i></dt>
<dd>

<p>the name of the <b>RRD</b> you want to alter.</p>

</dd>
<dt id="rra-num"><i>rra-num</i></dt>
<dd>

<p>the <b>RRA</b> you want to alter. You can find the number using <b>rrdtool info</b>.</p>

</dd>
<dt id="GROW"><b>GROW</b></dt>
<dd>

<p>used if you want to add extra rows to an RRA. The extra rows will be inserted as the rows that are oldest.</p>

</dd>
<dt id="SHRINK"><b>SHRINK</b></dt>
<dd>

<p>used if you want to remove rows from an RRA. The rows that will be removed are the oldest rows.</p>

</dd>
<dt id="rows"><i>rows</i></dt>
<dd>

<p>the number of rows you want to add or remove.</p>

</dd>
</dl>

<h1 id="NOTES">NOTES</h1>

<p>The new .rrd file, with the modified RRAs, is written to the file <b>resize.rrd</b> in the current directory. <b>The original .rrd file is not modified</b>.</p>

<p>It is possible to abuse this tool and get strange results by first removing some rows and then reinserting the same amount (effectively clearing them to be Unknown). You may thus end up with unknown data in one RRA while at the same timestamp this data is available in another RRA.</p>

<h1 id="AUTHOR">AUTHOR</h1>

<p>Alex van den Bogaerdt &lt;alex@vandenbogaerdt.nl&gt;</p>


</body>

</html>


